import com.jfinal.kit.PropKit;
import com.jjc.MyWebApp.Plugin.ServicePlugin;
import com.jjc.MyWebApp.Service.BaseService;
import com.jjc.MyWebApp.Service.UserService;
import org.junit.Test;

/**
 * Created by jiaji on 2017/5/7.
 */
public class test {

    @Test
    public void TestServicePlugin() {
        PropKit.use("config");
        ServicePlugin Plugin=new ServicePlugin();
        Plugin.start();
        BaseService BaseService = ServicePlugin.getService("userService");
        System.out.print(BaseService.toString());
    }
}
